/* Layout */
import Layout from '@/layout'

export default {
  path: '/employees',
  component: Layout,
  children: [
    { path: '', // 子组件path为空,默认自动匹配
      name: 'employees',
      component: () => import('@/views/employees/employees'),
      meta: { title: ' 员工管理', icon: 'people' }
    },
    {
      path: 'detail',
      component: () => import('@/views/employees/detail'),
      name: 'employeesDetail',
      hidden: true
    }
  ]
}
